package com.cheryjb.examples.spring.transactions.model;

/**
 * Main domain object used for this example.
 * 
 * @author cheryjb
 * 
 */
public class Person {

	private String id;

	/**
	 * indicates whether or not the operation (abstract concept) has been done
	 * for this Person
	 */
	private boolean operationDone;

	public Person(final String id) {
		this(id, false);
	}

	public Person(final String id, final boolean operationDone) {
		this.id = id;
		this.operationDone = operationDone;
	}

	public String getId() {
		return id;
	}

	public void setId(final String id) {
		this.id = id;
	}

	public boolean isOperationDone() {
		return operationDone;
	}

	public void setOperationDone(final boolean operationDone) {
		this.operationDone = operationDone;
	}

}
